package com.qfedu.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qfedu.user.dto.PasswordDto;
import com.qfedu.user.dto.StateDto;
import com.qfedu.user.dto.UserDto;
import com.qfedu.user.pojo.User;

import javax.servlet.http.HttpSession;

public interface UserService extends IService<User> {

    Page<User> getUsers(UserDto userDto);

    Integer login(User user, HttpSession session);

    Boolean changeUserState(StateDto stateDto);

    Boolean changeUserPassword(PasswordDto passwordDto);

}
